package com.ruoyi.fantasy.mapper;

import java.util.List;

import com.huanzhidadi.fantasy.bean.domain.FantasyNpcTalk;

/**
 * fantasynpc语句Mapper接口
 * 
 * @author wanghui
 * @date 2020-10-16
 */
public interface FantasyNpcTalkMapper 
{
    /**
     * 查询fantasynpc语句
     * 
     * @param id fantasynpc语句ID
     * @return fantasynpc语句
     */
    public FantasyNpcTalk selectFantasyNpcTalkById(String id);

    /**
     * 查询fantasynpc语句列表
     * 
     * @param fantasyNpcTalk fantasynpc语句
     * @return fantasynpc语句集合
     */
    public List<FantasyNpcTalk> selectFantasyNpcTalkList(FantasyNpcTalk fantasyNpcTalk);

    /**
     * 新增fantasynpc语句
     * 
     * @param fantasyNpcTalk fantasynpc语句
     * @return 结果
     */
    public int insertFantasyNpcTalk(FantasyNpcTalk fantasyNpcTalk);

    /**
     * 修改fantasynpc语句
     * 
     * @param fantasyNpcTalk fantasynpc语句
     * @return 结果
     */
    public int updateFantasyNpcTalk(FantasyNpcTalk fantasyNpcTalk);

    /**
     * 删除fantasynpc语句
     * 
     * @param id fantasynpc语句ID
     * @return 结果
     */
    public int deleteFantasyNpcTalkById(String id);

    /**
     * 批量删除fantasynpc语句
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteFantasyNpcTalkByIds(String[] ids);
}
